import request from '@/utils/request'

// 查询会员评价列表
export function listAppTravelComment(query) {
  return request({
    url: '/app/appTravelComment/list',
    method: 'get',
    params: query
  })
}

// 查询会员评价详细
export function getAppTravelComment(id) {
  return request({
    url: '/app/appTravelComment/' + id,
    method: 'get'
  })
}

// 新增会员评价
export function addAppTravelComment(data) {
  return request({
    url: '/app/appTravelComment',
    method: 'post',
    data: data
  })
}

// 修改会员评价
export function updateAppTravelComment(data) {
  return request({
    url: '/app/appTravelComment',
    method: 'put',
    data: data
  })
}

// 删除会员评价
export function delAppTravelComment(id) {
  return request({
    url: '/app/appTravelComment/' + id,
    method: 'delete'
  })
}
